package com.cunshe.dao;

import com.cunshe.domain.Office;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 办事处
 */
@Mapper
@Repository
public interface OfficeDao {

    int insert(Office record);
    int delete(Long id);
    int update(Office record);
    List<Office> list();

}